﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CRM.MODEL
{

    #region 存储过程 Pro_GetUsers 的相关参数
    /// <summary>
    /// Pro_GetUsers 的相关参数
    ///Users
    ///夏磊
    /// </summary>
    [Serializable]
    public struct GetUsers
    {
        //参数定义	 		     
        public const string ID_PARM = "@ID";
        public const string DEPTID_PARM = "@DeptID";
        public const string COMPID_PARM = "@CompID";
        public const string ISDEL_PARM = "@IsDel";
        public const string ISADMIN_PARM = "@IsAdmin";
        public const string FULLNAME_PARM = "@FullName";
        public const string LOGINNAME_PARM = "@LoginName";
        public const string ABRIDGENAME_PARM = "@AbridgeName";
        public const string PASSWORD_PARM = "@Password";
        public const string RESIDENTID_PARM = "@ResidentID";
        public const string BIRTHDAY_PARM = "@Birthday";
        public const string MOBILEPHONEID_PARM = "@MobilePhoneID";
        public const string MOBILEPHONE_PARM = "@MobilePhone";
        public const string GENDER_PARM = "@Gender";
        public const string DOMICILEPLACE_PARM = "@DomicilePlace";
        public const string EDUCATION_PARM = "@Education";
        public const string EMAIL_PARM = "@Email";
        public const string CREATEBY_PARM = "@CreateBy";
        public const string CREATETIME_PARM = "@CreateTime";
        public const string LASTMODIFYBY_PARM = "@LastModifyBy";
        public const string LASTMODIFYTIME_PARM = "@LastModifyTime";
        public const string QQ_PARM = "@QQ";
        public const string REMARK_PARM = "@Remark";
        public const string ISACTIVE_PARM = "@IsActive";
        public const string TEMP1_PARM = "@Temp1";
        public const string TEMP2_PARM = "@Temp2";
        public const string TEMP3_PARM = "@Temp3";
        public const string TEMP4_PARM = "@Temp4";
        public const string TEMP5_PARM = "@Temp5";
        public const string TEMP6_PARM = "@Temp6";
        public const string TEMP7_PARM = "@Temp7";
        public const string TEMP8_PARM = "@Temp8";

        public const string KEYVALUE_PARM = "@KeyValue";
        //分页参数定义  
        public const string ORDERSTRING_PARM = "@OrderString";
        public const string PAGESIZE_PARM = "@PageSize";
        public const string CURRENTPAGEINDEX_PARM = "@CurrentPageIndex";
        public const string TOTALITEMS_PARM = "@TotalItems";

        //字段属性设置
        private object ID;
        public object ID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ID); }
            set
            { this.ID = value; }
        }

        private object DeptID;
        public object DEPTID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.DeptID); }
            set
            { this.DeptID = value; }
        }

        private object CompID;
        public object COMPID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CompID); }
            set
            { this.CompID = value; }
        }

        private object IsDel;
        public object ISDEL_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsDel); }
            set
            { this.IsDel = value; }
        }

        private object IsAdmin;
        public object ISADMIN_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsAdmin); }
            set
            { this.IsAdmin = value; }
        }

        private object FullName;
        public object FULLNAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.FullName); }
            set
            { this.FullName = value; }
        }

        private object LoginName;
        public object LOGINNAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LoginName); }
            set
            { this.LoginName = value; }
        }

        private object AbridgeName;
        public object ABRIDGENAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.AbridgeName); }
            set
            { this.AbridgeName = value; }
        }

        private object Password;
        public object PASSWORD_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Password); }
            set
            { this.Password = value; }
        }

        private object ResidentID;
        public object RESIDENTID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ResidentID); }
            set
            { this.ResidentID = value; }
        }

        private object Birthday;
        public object BIRTHDAY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Birthday); }
            set
            { this.Birthday = value; }
        }

        private object MobilePhoneID;
        public object MOBILEPHONEID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MobilePhoneID); }
            set
            { this.MobilePhoneID = value; }
        }

        private object MobilePhone;
        public object MOBILEPHONE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MobilePhone); }
            set
            { this.MobilePhone = value; }
        }

        private object Gender;
        public object GENDER_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Gender); }
            set
            { this.Gender = value; }
        }

        private object DomicilePlace;
        public object DOMICILEPLACE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.DomicilePlace); }
            set
            { this.DomicilePlace = value; }
        }

        private object Education;
        public object EDUCATION_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Education); }
            set
            { this.Education = value; }
        }

        private object Email;
        public object EMAIL_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Email); }
            set
            { this.Email = value; }
        }

        private object CreateBy;
        public object CREATEBY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CreateBy); }
            set
            { this.CreateBy = value; }
        }

        private object CreateTime;
        public object CREATETIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CreateTime); }
            set
            { this.CreateTime = value; }
        }

        private object LastModifyBy;
        public object LASTMODIFYBY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LastModifyBy); }
            set
            { this.LastModifyBy = value; }
        }

        private object LastModifyTime;
        public object LASTMODIFYTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LastModifyTime); }
            set
            { this.LastModifyTime = value; }
        }

        private object QQ;
        public object QQ_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.QQ); }
            set
            { this.QQ = value; }
        }

        private object Remark;
        public object REMARK_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Remark); }
            set
            { this.Remark = value; }
        }

        private object IsActive;
        public object ISACTIVE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsActive); }
            set
            { this.IsActive = value; }
        }

        private object Temp1;
        public object TEMP1_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp1); }
            set
            { this.Temp1 = value; }
        }

        private object Temp2;
        public object TEMP2_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp2); }
            set
            { this.Temp2 = value; }
        }

        private object Temp3;
        public object TEMP3_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp3); }
            set
            { this.Temp3 = value; }
        }

        private object Temp4;
        public object TEMP4_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp4); }
            set
            { this.Temp4 = value; }
        }

        private object Temp5;
        public object TEMP5_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp5); }
            set
            { this.Temp5 = value; }
        }

        private object Temp6;
        public object TEMP6_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp6); }
            set
            { this.Temp6 = value; }
        }

        private object Temp7;
        public object TEMP7_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp7); }
            set
            { this.Temp7 = value; }
        }

        private object Temp8;
        public object TEMP8_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp8); }
            set
            { this.Temp8 = value; }
        }


        private object KeyValue;

        public object KEYVALUE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.KeyValue); }
            set
            { this.KeyValue = value; }
        }


        //分页属性设置
        private object OrderString;
        public object ORDERSTRING_VALUE
        {
            get { return CRM.UTIL.Common.TransQuote(this.OrderString); }
            set { this.OrderString = value; }
        }

        private object PageSize;
        public object PAGESIZE_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.PageSize, CRM.UTIL.Common.DefaultPageSize); }
            set { this.PageSize = value; }
        }

        private object CurrentPageIndex;
        public object CURRENTPAGEINDEX_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.CurrentPageIndex, CRM.UTIL.Common.DefaultCurrentPageIndex); }
            set { this.CurrentPageIndex = value; }
        }

        private object TotalItems;
        public object TOTALITEMS_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.TotalItems); }
            set { this.TotalItems = value; }
        }

    }
    #endregion

    #region 存储过程 Pro_EditUsers 的相关参数
    /// <summary>
    /// Pro_EditUsers 的相关参数
    ///Users
    ///向国祥
    /// </summary>
    [Serializable]
    public struct EditUsers
    {
        //动作参数
        public const string ACTION_PARM = "@Action";
        //错误信息参数
        public const string ERRMSG_PARM = "@errMsg";
        public const string OUTID_PARM = "@OutID";
        ////表字段参数
        public const string ID_PARM = "@ID";
        public const string DEPTID_PARM = "@DeptID";
        public const string COMPID_PARM = "@CompID";
        public const string ISDEL_PARM = "@IsDel";
        public const string ISADMIN_PARM = "@IsAdmin";
        public const string FULLNAME_PARM = "@FullName";
        public const string LOGINNAME_PARM = "@LoginName";
        public const string ABRIDGENAME_PARM = "@AbridgeName";
        public const string PASSWORD_PARM = "@Password";
        public const string RESIDENTID_PARM = "@ResidentID";
        public const string BIRTHDAY_PARM = "@Birthday";
        public const string MOBILEPHONEID_PARM = "@MobilePhoneID";
        public const string MOBILEPHONE_PARM = "@MobilePhone";
        public const string GENDER_PARM = "@Gender";
        public const string DOMICILEPLACE_PARM = "@DomicilePlace";
        public const string EDUCATION_PARM = "@Education";
        public const string EMAIL_PARM = "@Email";
        public const string CREATEBY_PARM = "@CreateBy";
        public const string CREATETIME_PARM = "@CreateTime";
        public const string LASTMODIFYBY_PARM = "@LastModifyBy";
        public const string LASTMODIFYTIME_PARM = "@LastModifyTime";
        public const string QQ_PARM = "@QQ";
        public const string REMARK_PARM = "@Remark";
        public const string ISACTIVE_PARM = "@IsActive";
        public const string TEMP1_PARM = "@Temp1";
        public const string TEMP2_PARM = "@Temp2";
        public const string TEMP3_PARM = "@Temp3";
        public const string TEMP4_PARM = "@Temp4";
        public const string TEMP5_PARM = "@Temp5";
        public const string TEMP6_PARM = "@Temp6";
        public const string TEMP7_PARM = "@Temp7";
        public const string TEMP8_PARM = "@Temp8";


        //动作属性
        private object Action;
        public object ACTION_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Action); }
            set
            { this.Action = value; }
        }

        //错误信息属性
        private object errMsg;
        public object ERRMSG_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.errMsg); }
            set
            { this.errMsg = value; }
        }
        private object OutID;
        public object OUTID_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.OutID); }
            set { this.OutID = value; }
        }

        //表字段属性
        private object ID;
        public object ID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ID); }
            set
            { this.ID = value; }
        }

        private object DeptID;
        public object DEPTID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.DeptID); }
            set
            { this.DeptID = value; }
        }

        private object CompID;
        public object COMPID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CompID); }
            set
            { this.CompID = value; }
        }

        private object IsDel;
        public object ISDEL_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsDel); }
            set
            { this.IsDel = value; }
        }

        private object IsAdmin;
        public object ISADMIN_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsAdmin); }
            set
            { this.IsAdmin = value; }
        }

        private object FullName;
        public object FULLNAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.FullName); }
            set
            { this.FullName = value; }
        }

        private object LoginName;
        public object LOGINNAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LoginName); }
            set
            { this.LoginName = value; }
        }

        private object AbridgeName;
        public object ABRIDGENAME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.AbridgeName); }
            set
            { this.AbridgeName = value; }
        }

        private object Password;
        public object PASSWORD_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Password); }
            set
            { this.Password = value; }
        }

        private object ResidentID;
        public object RESIDENTID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ResidentID); }
            set
            { this.ResidentID = value; }
        }

        private object Birthday;
        public object BIRTHDAY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Birthday); }
            set
            { this.Birthday = value; }
        }

        private object MobilePhoneID;
        public object MOBILEPHONEID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MobilePhoneID); }
            set
            { this.MobilePhoneID = value; }
        }

        private object MobilePhone;
        public object MOBILEPHONE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MobilePhone); }
            set
            { this.MobilePhone = value; }
        }

        private object Gender;
        public object GENDER_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Gender); }
            set
            { this.Gender = value; }
        }

        private object DomicilePlace;
        public object DOMICILEPLACE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.DomicilePlace); }
            set
            { this.DomicilePlace = value; }
        }

        private object Education;
        public object EDUCATION_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Education); }
            set
            { this.Education = value; }
        }

        private object Email;
        public object EMAIL_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Email); }
            set
            { this.Email = value; }
        }

        private object CreateBy;
        public object CREATEBY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CreateBy); }
            set
            { this.CreateBy = value; }
        }

        private object CreateTime;
        public object CREATETIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.CreateTime); }
            set
            { this.CreateTime = value; }
        }

        private object LastModifyBy;
        public object LASTMODIFYBY_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LastModifyBy); }
            set
            { this.LastModifyBy = value; }
        }

        private object LastModifyTime;
        public object LASTMODIFYTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.LastModifyTime); }
            set
            { this.LastModifyTime = value; }
        }

        private object QQ;
        public object QQ_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.QQ); }
            set
            { this.QQ = value; }
        }

        private object Remark;
        public object REMARK_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Remark); }
            set
            { this.Remark = value; }
        }

        private object IsActive;
        public object ISACTIVE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.IsActive); }
            set
            { this.IsActive = value; }
        }

        private object Temp1;
        public object TEMP1_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp1); }
            set
            { this.Temp1 = value; }
        }

        private object Temp2;
        public object TEMP2_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp2); }
            set
            { this.Temp2 = value; }
        }

        private object Temp3;
        public object TEMP3_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp3); }
            set
            { this.Temp3 = value; }
        }

        private object Temp4;
        public object TEMP4_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp4); }
            set
            { this.Temp4 = value; }
        }

        private object Temp5;
        public object TEMP5_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp5); }
            set
            { this.Temp5 = value; }
        }

        private object Temp6;
        public object TEMP6_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp6); }
            set
            { this.Temp6 = value; }
        }

        private object Temp7;
        public object TEMP7_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp7); }
            set
            { this.Temp7 = value; }
        }

        private object Temp8;
        public object TEMP8_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Temp8); }
            set
            { this.Temp8 = value; }
        }

    }
    #endregion
}
